@ymm-time-line: ~'ymm-time-line';

.@{ymm-time-line} {
  &-item {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  &-tail {
    position: absolute;
    left: 20px;
    height: 100%;
    width: 1px;
    &:after {
      height: 100%;
      width: 1px;
      content: '';
      display: inline-block;
      background: #ddd;
    }
  }
  &-icon {
    position: absolute;
    border-radius: 50%;
    background-color: #108ee9;
  }
  &-left, &-right {
    display: inline-block;
    position: relative;
    vertical-align: top;
    &-arrow {
      position: absolute;
      width: 8px;
      height: 8px;
      border: 0;
      background: white;
      transform: translateY(50%) rotate(45deg);
    }
  }
  &-left {
    &-content {
      border-radius: 3px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
  }
  &-right {
    min-height: 50px;
    padding-left: 4px;
    &-arrow {
      left: 0;
      box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
    }
    &-content {
      border-radius: 3px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
  }
}